/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Codigo;

import javax.swing.ImageIcon;

/**
 *
 * @author kyerte
 */
public class FrmOpciones extends javax.swing.JFrame {

    /**
     * Creates new form FrmOpciones
     */
    public FrmOpciones() {
        initComponents();
        this.setIconImage(new ImageIcon(getClass().getResource("/Imagenes/Opciones.png")).getImage());
        this.getContentPane().setBackground(new java.awt.Color(255, 255, 255));
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        cmdMediosPublicitarios = new javax.swing.JButton();
        cmdUsuarios = new javax.swing.JButton();
        cmdDesarrollos = new javax.swing.JButton();
        cmdPromotores = new javax.swing.JButton();
        cmdLlamadas = new javax.swing.JButton();
        cmdConexion = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Opciones");
        setBackground(new java.awt.Color(242, 34, 34));
        setResizable(false);

        jPanel1.setBackground(new java.awt.Color(244, 243, 176));
        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("DejaVu Sans Light", 3, 18))); // NOI18N

        cmdMediosPublicitarios.setBackground(new java.awt.Color(255, 255, 255));
        cmdMediosPublicitarios.setFont(new java.awt.Font("Ubuntu", 3, 18)); // NOI18N
        cmdMediosPublicitarios.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/wizard35.png"))); // NOI18N
        cmdMediosPublicitarios.setMnemonic('M');
        cmdMediosPublicitarios.setText("Medios publicitarios");
        cmdMediosPublicitarios.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdMediosPublicitariosActionPerformed(evt);
            }
        });

        cmdUsuarios.setBackground(new java.awt.Color(255, 255, 255));
        cmdUsuarios.setFont(new java.awt.Font("Ubuntu", 3, 18)); // NOI18N
        cmdUsuarios.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Usuarios.png"))); // NOI18N
        cmdUsuarios.setMnemonic('U');
        cmdUsuarios.setText("Usuarios");
        cmdUsuarios.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdUsuariosActionPerformed(evt);
            }
        });

        cmdDesarrollos.setBackground(new java.awt.Color(255, 255, 255));
        cmdDesarrollos.setFont(new java.awt.Font("Ubuntu", 3, 18)); // NOI18N
        cmdDesarrollos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Casa.png"))); // NOI18N
        cmdDesarrollos.setMnemonic('D');
        cmdDesarrollos.setText("Desarrollos");
        cmdDesarrollos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdDesarrollosActionPerformed(evt);
            }
        });

        cmdPromotores.setBackground(new java.awt.Color(255, 255, 255));
        cmdPromotores.setFont(new java.awt.Font("Ubuntu", 3, 18)); // NOI18N
        cmdPromotores.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/user_32.png"))); // NOI18N
        cmdPromotores.setMnemonic('P');
        cmdPromotores.setText("Promotores");
        cmdPromotores.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdPromotoresActionPerformed(evt);
            }
        });

        cmdLlamadas.setBackground(new java.awt.Color(255, 255, 255));
        cmdLlamadas.setFont(new java.awt.Font("Ubuntu", 3, 18)); // NOI18N
        cmdLlamadas.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Phone-32.png"))); // NOI18N
        cmdLlamadas.setMnemonic('L');
        cmdLlamadas.setText("Llamadas");
        cmdLlamadas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdLlamadasActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addComponent(cmdUsuarios, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(cmdMediosPublicitarios, javax.swing.GroupLayout.PREFERRED_SIZE, 254, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(cmdDesarrollos, javax.swing.GroupLayout.PREFERRED_SIZE, 172, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(cmdPromotores, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(cmdLlamadas, javax.swing.GroupLayout.PREFERRED_SIZE, 174, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(26, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(41, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cmdMediosPublicitarios, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cmdDesarrollos, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cmdPromotores, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cmdUsuarios, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cmdLlamadas, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(37, 37, 37))
        );

        cmdConexion.setBackground(new java.awt.Color(255, 255, 255));
        cmdConexion.setForeground(new java.awt.Color(26, 12, 12));
        cmdConexion.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/dynamic_01.png"))); // NOI18N
        cmdConexion.setMnemonic('c');
        cmdConexion.setText("Conexión a BD");
        cmdConexion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdConexionActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(cmdConexion, javax.swing.GroupLayout.PREFERRED_SIZE, 241, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(cmdConexion, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)
                .addGap(18, 18, 18))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void cmdUsuariosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdUsuariosActionPerformed
        FrmUsuarios ventanaUsuarios = new FrmUsuarios();
        ventanaUsuarios.setLocationRelativeTo(null);
        ventanaUsuarios.setVisible(true);
    }//GEN-LAST:event_cmdUsuariosActionPerformed
    
    private void cmdDesarrollosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdDesarrollosActionPerformed
        FrmDesarrollos ventanaDesarrollos = new FrmDesarrollos();
        ventanaDesarrollos.setLocationRelativeTo(null);
        ventanaDesarrollos.setVisible(true);
    }//GEN-LAST:event_cmdDesarrollosActionPerformed
    
    private void cmdPromotoresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdPromotoresActionPerformed
        FrmPromotores ventanaPromotores = new FrmPromotores();
        ventanaPromotores.setLocationRelativeTo(null);
        ventanaPromotores.setVisible(true);
    }//GEN-LAST:event_cmdPromotoresActionPerformed
    
    private void cmdMediosPublicitariosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdMediosPublicitariosActionPerformed
        FrmMedios ventanaMedios = new FrmMedios();
        ventanaMedios.setLocationRelativeTo(null);
        ventanaMedios.setVisible(true);
    }//GEN-LAST:event_cmdMediosPublicitariosActionPerformed
    
    private void cmdConexionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdConexionActionPerformed
        FrmConexion ventanaConexion = new FrmConexion();
        ventanaConexion.setLocationRelativeTo(null);
        ventanaConexion.setVisible(true);
    }//GEN-LAST:event_cmdConexionActionPerformed
    
    private void cmdLlamadasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdLlamadasActionPerformed
        Frm_Llamadas ventanaLlamadas = new Frm_Llamadas();
        ventanaLlamadas.setLocationRelativeTo(null);
        ventanaLlamadas.setVisible(true);
    }//GEN-LAST:event_cmdLlamadasActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton cmdConexion;
    private javax.swing.JButton cmdDesarrollos;
    private javax.swing.JButton cmdLlamadas;
    private javax.swing.JButton cmdMediosPublicitarios;
    private javax.swing.JButton cmdPromotores;
    private javax.swing.JButton cmdUsuarios;
    private javax.swing.JPanel jPanel1;
    // End of variables declaration//GEN-END:variables
}
